
const {ccclass, property} = cc._decorator;

@ccclass
export default class Scene extends cc.Component {

    @property(cc.Prefab)
    sceneUi: cc.Prefab = null;

    start () {
        cc.instantiate(this.sceneUi).parent = this.node;
    }
}
